﻿using AngleSharp.Dom;
using AutoMapper;
using Microsoft.AspNetCore.Http;
using Microsoft.Extensions.Logging;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using WomanMotion.WebApi.Infrastructure.YitId;
using WomanMotion.WebApi.Model.Dtos.Carousel;
using WomanMotion.WebApi.Model.Dtos.Controller;
using WomanMotion.WebApi.Model.Entitys;
using WomanMotion.WebApi.Repository.IRepository;
using WomanMotion.WebApi.Service.IService;

namespace WomanMotion.WebApi.Service.Service
{
    public class ControllerService : BaseCRUDService<Controller, ControllerVM, UpdateControllerDTO, CreatedControllerDTO>, IControllerService
    {
        private readonly IControllerRepository _controllerRepository;

        public ControllerService(ILogger<ControllerService> logger, IMapper mapper, IControllerRepository controllerRepository, IHttpContextAccessor httpContext) : base(logger, mapper, controllerRepository, httpContext)
        {
            this._controllerRepository = controllerRepository;
        }
    }
}